home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / PInterfaces / GXGraphics.p < prev    next >
Text File  |  1996-05-01  |  37KB  |  501 lines

  1. {
  2.      File:        GXGraphics.p
  3.  
  4.      Contains:    QuickDraw GX graphic routine interfaces.
  5.  
  6.      Version:    Technology:    Quickdraw GX 1.1
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT GXGraphics;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __GXGRAPHICS__}
  28. {$SETC __GXGRAPHICS__ := 1}
  29.  
  30. {$I+}
  31. {$SETC GXGraphicsIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __CONDITIONALMACROS__}
  35. {$I ConditionalMacros.p}
  36. {$ENDC}
  37. {$IFC UNDEFINED __TYPES__}
  38. {$I Types.p}
  39. {$ENDC}
  40. {$IFC UNDEFINED __FONTS__}
  41. {$I Fonts.p}
  42. {$ENDC}
  43. {$IFC UNDEFINED __GXERRORS__}
  44. {$I GXErrors.p}
  45. {$ENDC}
  46. {$IFC UNDEFINED __GXTYPES__}
  47. {$I GXTypes.p}
  48. {$ENDC}
  49.  
  50. {$PUSH}
  51. {$ALIGN MAC68K}
  52. {$LibExport+}
  53.  
  54. {$IFC FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE }
  55. FUNCTION GXNewGraphicsClient(memoryStart: UNIV Ptr; memoryLength: LONGINT; attributes: gxClientAttribute): gxGraphicsClient; C;
  56. FUNCTION GXGetGraphicsClient: gxGraphicsClient; C;
  57. PROCEDURE GXSetGraphicsClient(client: gxGraphicsClient); C;
  58. PROCEDURE GXDisposeGraphicsClient(client: gxGraphicsClient); C;
  59. FUNCTION GXGetSystemGraphicsClient: gxGraphicsClient; C;
  60. PROCEDURE GXReleaseSystemGraphicsClient; C;
  61. { returns the count  }
  62. FUNCTION GXGetGraphicsClients(index: LONGINT; count: LONGINT; VAR clients: gxGraphicsClient): LONGINT; C;
  63. PROCEDURE GXEnterGraphics; C;
  64. PROCEDURE GXExitGraphics; C;
  65. FUNCTION GXGetGraphicsError(VAR stickyError: gxGraphicsError): gxGraphicsError; C;
  66. FUNCTION GXGetGraphicsNotice(VAR stickyNotice: gxGraphicsNotice): gxGraphicsNotice; C;
  67. FUNCTION GXGetGraphicsWarning(VAR stickyWarning: gxGraphicsWarning): gxGraphicsWarning; C;
  68. PROCEDURE GXPostGraphicsError(error: gxGraphicsError); C;
  69. PROCEDURE GXPostGraphicsWarning(warning: gxGraphicsWarning); C;
  70. FUNCTION GXGetUserGraphicsError(VAR reference: LONGINT): gxUserErrorFunction; C;
  71. FUNCTION GXGetUserGraphicsNotice(VAR reference: LONGINT): gxUserNoticeFunction; C;
  72. FUNCTION GXGetUserGraphicsWarning(VAR reference: LONGINT): gxUserWarningFunction; C;
  73. PROCEDURE GXSetUserGraphicsError(userFunction: gxUserErrorFunction; reference: LONGINT); C;
  74. PROCEDURE GXSetUserGraphicsNotice(userFunction: gxUserNoticeFunction; reference: LONGINT); C;
  75. PROCEDURE GXSetUserGraphicsWarning(userFunction: gxUserWarningFunction; reference: LONGINT); C;
  76. PROCEDURE GXIgnoreGraphicsWarning(warning: gxGraphicsWarning); C;
  77. PROCEDURE GXPopGraphicsWarning; C;
  78. FUNCTION GXNewShapeVector(aType: gxShapeType; {CONST}VAR vector: Fixed): gxShape; C;
  79. PROCEDURE GXSetShapeVector(target: gxShape; {CONST}VAR vector: Fixed); C;
  80. FUNCTION GXNewBitmap({CONST}VAR data: gxBitmap; {CONST}VAR position: gxPoint): gxShape; C;
  81. FUNCTION GXNewCurve({CONST}VAR data: gxCurve): gxShape; C;
  82. FUNCTION GXNewGlyphs(charCount: LONGINT; {CONST}VAR text: UInt8; {CONST}VAR positions: gxPoint; {CONST}VAR advance: LONGINT; {CONST}VAR tangents: gxPoint; {CONST}VAR styleRuns: INTEGER; {CONST}VAR glyphStyles: gxStyle): gxShape; C;
  83. FUNCTION GXNewLine({CONST}VAR data: gxLine): gxShape; C;
  84. FUNCTION GXNewPaths({CONST}VAR data: gxPaths): gxShape; C;
  85. FUNCTION GXNewPicture(count: LONGINT; {CONST}VAR shapes: gxShape; {CONST}VAR styles: gxStyle; {CONST}VAR inks: gxInk; {CONST}VAR transforms: gxTransform): gxShape; C;
  86. FUNCTION GXNewPoint({CONST}VAR data: gxPoint): gxShape; C;
  87. FUNCTION GXNewPolygons({CONST}VAR data: gxPolygons): gxShape; C;
  88. FUNCTION GXNewRectangle({CONST}VAR data: gxRectangle): gxShape; C;
  89. FUNCTION GXNewText(charCount: LONGINT; {CONST}VAR text: UInt8; {CONST}VAR position: gxPoint): gxShape; C;
  90. FUNCTION GXGetBitmap(source: gxShape; VAR data: gxBitmap; VAR position: gxPoint): gxBitmapPtr; C;
  91. FUNCTION GXGetCurve(source: gxShape; VAR data: gxCurve): gxCurvePtr; C;
  92. {  returns byte length of glyphs  }
  93. FUNCTION GXGetGlyphs(source: gxShape; VAR charCount: LONGINT; VAR text: UInt8; VAR positions: gxPoint; VAR advance: LONGINT; VAR tangents: gxPoint; VAR runCount: LONGINT; VAR styleRuns: INTEGER; VAR glyphStyles: gxStyle): LONGINT; C;
  94. FUNCTION GXGetLine(source: gxShape; VAR data: gxLine): gxLinePtr; C;
  95. {  returns byte length  }
  96. FUNCTION GXGetPaths(source: gxShape; VAR data: gxPaths): LONGINT; C;
  97. {  returns count  }
  98. FUNCTION GXGetPicture(source: gxShape; VAR shapes: gxShape; VAR styles: gxStyle; VAR inks: gxInk; VAR transforms: gxTransform): LONGINT; C;
  99. FUNCTION GXGetPoint(source: gxShape; VAR data: gxPoint): gxPointPtr; C;
  100. {  returns byte length  }
  101. FUNCTION GXGetPolygons(source: gxShape; VAR data: gxPolygons): LONGINT; C;
  102. FUNCTION GXGetRectangle(source: gxShape; VAR data: gxRectangle): gxRectanglePtr; C;
  103. {  returns byte length  }
  104. FUNCTION GXGetText(source: gxShape; VAR charCount: LONGINT; VAR text: UInt8; VAR position: gxPoint): LONGINT; C;
  105. PROCEDURE GXSetBitmap(target: gxShape; {CONST}VAR data: gxBitmap; {CONST}VAR position: gxPoint); C;
  106. PROCEDURE GXSetCurve(target: gxShape; {CONST}VAR data: gxCurve); C;
  107. PROCEDURE GXSetGlyphs(target: gxShape; charCount: LONGINT; {CONST}VAR text: UInt8; {CONST}VAR positions: gxPoint; {CONST}VAR advance: LONGINT; {CONST}VAR tangents: gxPoint; {CONST}VAR styleRuns: INTEGER; {CONST}VAR glyphStyles: gxStyle); C;
  108. PROCEDURE GXSetLine(target: gxShape; {CONST}VAR data: gxLine); C;
  109. PROCEDURE GXSetPaths(target: gxShape; {CONST}VAR data: gxPaths); C;
  110. PROCEDURE GXSetPicture(target: gxShape; count: LONGINT; {CONST}VAR shapes: gxShape; {CONST}VAR styles: gxStyle; {CONST}VAR inks: gxInk; {CONST}VAR transforms: gxTransform); C;
  111. PROCEDURE GXSetPoint(target: gxShape; {CONST}VAR data: gxPoint); C;
  112. PROCEDURE GXSetPolygons(target: gxShape; {CONST}VAR data: gxPolygons); C;
  113. PROCEDURE GXSetRectangle(target: gxShape; {CONST}VAR data: gxRectangle); C;
  114. PROCEDURE GXSetText(target: gxShape; charCount: LONGINT; {CONST}VAR text: UInt8; {CONST}VAR position: gxPoint); C;
  115. PROCEDURE GXDrawBitmap({CONST}VAR data: gxBitmap; {CONST}VAR position: gxPoint); C;
  116. PROCEDURE GXDrawCurve({CONST}VAR data: gxCurve); C;
  117. PROCEDURE GXDrawGlyphs(charCount: LONGINT; {CONST}VAR text: UInt8; {CONST}VAR positions: gxPoint; {CONST}VAR advance: LONGINT; {CONST}VAR tangents: gxPoint; {CONST}VAR styleRuns: INTEGER; {CONST}VAR glyphStyles: gxStyle); C;
  118. PROCEDURE GXDrawLine({CONST}VAR data: gxLine); C;
  119. PROCEDURE GXDrawPaths({CONST}VAR data: gxPaths; fill: gxShapeFill); C;
  120. PROCEDURE GXDrawPicture(count: LONGINT; {CONST}VAR shapes: gxShape; {CONST}VAR styles: gxStyle; {CONST}VAR inks: gxInk; {CONST}VAR transforms: gxTransform); C;
  121. PROCEDURE GXDrawPoint({CONST}VAR data: gxPoint); C;
  122. PROCEDURE GXDrawPolygons({CONST}VAR data: gxPolygons; fill: gxShapeFill); C;
  123. PROCEDURE GXDrawRectangle({CONST}VAR data: gxRectangle; fill: gxShapeFill); C;
  124. PROCEDURE GXDrawText(charCount: LONGINT; {CONST}VAR text: UInt8; {CONST}VAR position: gxPoint); C;
  125. FUNCTION GXNewColorProfile(size: LONGINT; colorProfileData: UNIV Ptr): gxColorProfile; C;
  126. FUNCTION GXNewColorSet(space: gxColorSpace; count: LONGINT; {CONST}VAR colors: gxSetColor): gxColorSet; C;
  127. FUNCTION GXNewInk: gxInk; C;
  128. FUNCTION GXNewShape(aType: gxShapeType): gxShape; C;
  129. FUNCTION GXNewStyle: gxStyle; C;
  130. FUNCTION GXNewTag(tagType: LONGINT; length: LONGINT; data: UNIV Ptr): gxTag; C;
  131. FUNCTION GXNewTransform: gxTransform; C;
  132. FUNCTION GXNewViewDevice(group: gxViewGroup; bitmapShape: gxShape): gxViewDevice; C;
  133. FUNCTION GXNewViewGroup: gxViewGroup; C;
  134. FUNCTION GXNewViewPort(group: gxViewGroup): gxViewPort; C;
  135. PROCEDURE GXDisposeColorProfile(target: gxColorProfile); C;
  136. PROCEDURE GXDisposeColorSet(target: gxColorSet); C;
  137. PROCEDURE GXDisposeInk(target: gxInk); C;
  138. PROCEDURE GXDisposeShape(target: gxShape); C;
  139. PROCEDURE GXDisposeStyle(target: gxStyle); C;
  140. PROCEDURE GXDisposeTag(target: gxTag); C;
  141. PROCEDURE GXDisposeTransform(target: gxTransform); C;
  142. PROCEDURE GXDisposeViewDevice(target: gxViewDevice); C;
  143. PROCEDURE GXDisposeViewGroup(target: gxViewGroup); C;
  144. PROCEDURE GXDisposeViewPort(target: gxViewPort); C;
  145. FUNCTION GXCloneColorProfile(source: gxColorProfile): gxColorProfile; C;
  146. FUNCTION GXCloneColorSet(source: gxColorSet): gxColorSet; C;
  147. FUNCTION GXCloneInk(source: gxInk): gxInk; C;
  148. FUNCTION GXCloneShape(source: gxShape): gxShape; C;
  149. FUNCTION GXCloneStyle(source: gxStyle): gxStyle; C;
  150. FUNCTION GXCloneTag(source: gxTag): gxTag; C;
  151. FUNCTION GXCloneTransform(source: gxTransform): gxTransform; C;
  152. FUNCTION GXCopyToColorProfile(target: gxColorProfile; source: gxColorProfile): gxColorProfile; C;
  153. FUNCTION GXCopyToColorSet(target: gxColorSet; source: gxColorSet): gxColorSet; C;
  154. FUNCTION GXCopyToInk(target: gxInk; source: gxInk): gxInk; C;
  155. FUNCTION GXCopyToShape(target: gxShape; source: gxShape): gxShape; C;
  156. FUNCTION GXCopyToStyle(target: gxStyle; source: gxStyle): gxStyle; C;
  157. FUNCTION GXCopyToTag(target: gxTag; source: gxTag): gxTag; C;
  158. FUNCTION GXCopyToTransform(target: gxTransform; source: gxTransform): gxTransform; C;
  159. FUNCTION GXCopyToViewDevice(target: gxViewDevice; source: gxViewDevice): gxViewDevice; C;
  160. FUNCTION GXCopyToViewPort(target: gxViewPort; source: gxViewPort): gxViewPort; C;
  161. FUNCTION GXEqualColorProfile(one: gxColorProfile; two: gxColorProfile): BOOLEAN; C;
  162. FUNCTION GXEqualColorSet(one: gxColorSet; two: gxColorSet): BOOLEAN; C;
  163. FUNCTION GXEqualInk(one: gxInk; two: gxInk): BOOLEAN; C;
  164. FUNCTION GXEqualShape(one: gxShape; two: gxShape): BOOLEAN; C;
  165. FUNCTION GXEqualStyle(one: gxStyle; two: gxStyle): BOOLEAN; C;
  166. FUNCTION GXEqualTag(one: gxTag; two: gxTag): BOOLEAN; C;
  167. FUNCTION GXEqualTransform(one: gxTransform; two: gxTransform): BOOLEAN; C;
  168. FUNCTION GXEqualViewDevice(one: gxViewDevice; two: gxViewDevice): BOOLEAN; C;
  169. FUNCTION GXEqualViewPort(one: gxViewPort; two: gxViewPort): BOOLEAN; C;
  170. PROCEDURE GXResetInk(target: gxInk); C;
  171. PROCEDURE GXResetShape(target: gxShape); C;
  172. PROCEDURE GXResetStyle(target: gxStyle); C;
  173. PROCEDURE GXResetTransform(target: gxTransform); C;
  174. PROCEDURE GXLoadColorProfile(target: gxColorProfile); C;
  175. PROCEDURE GXLoadColorSet(target: gxColorSet); C;
  176. PROCEDURE GXLoadInk(target: gxInk); C;
  177. PROCEDURE GXLoadShape(target: gxShape); C;
  178. PROCEDURE GXLoadStyle(target: gxStyle); C;
  179. PROCEDURE GXLoadTag(target: gxTag); C;
  180. PROCEDURE GXLoadTransform(target: gxTransform); C;
  181. PROCEDURE GXUnloadColorProfile(target: gxColorProfile); C;
  182. PROCEDURE GXUnloadColorSet(target: gxColorSet); C;
  183. PROCEDURE GXUnloadInk(target: gxInk); C;
  184. PROCEDURE GXUnloadShape(target: gxShape); C;
  185. PROCEDURE GXUnloadStyle(target: gxStyle); C;
  186. PROCEDURE GXUnloadTag(target: gxTag); C;
  187. PROCEDURE GXUnloadTransform(target: gxTransform); C;
  188. PROCEDURE GXCacheShape(source: gxShape); C;
  189. FUNCTION GXCopyDeepToShape(target: gxShape; source: gxShape): gxShape; C;
  190. PROCEDURE GXDrawShape(source: gxShape); C;
  191. PROCEDURE GXDisposeShapeCache(target: gxShape); C;
  192. FUNCTION GXGetDefaultColorProfile: gxColorProfile; C;
  193. FUNCTION GXGetDefaultShape(aType: gxShapeType): gxShape; C;
  194. FUNCTION GXGetDefaultColorSet(pixelDepth: LONGINT): gxColorSet; C;
  195. PROCEDURE GXSetDefaultShape(target: gxShape); C;
  196. PROCEDURE GXSetDefaultColorSet(target: gxColorSet; pixelDepth: LONGINT); C;
  197. FUNCTION GXGetTag(source: gxTag; VAR tagType: LONGINT; data: UNIV Ptr): LONGINT; C;
  198. PROCEDURE GXSetTag(target: gxTag; tagType: LONGINT; length: LONGINT; data: UNIV Ptr); C;
  199. FUNCTION GXGetShapeBounds(source: gxShape; index: LONGINT; VAR bounds: gxRectangle): gxRectanglePtr; C;
  200. FUNCTION GXGetShapeFill(source: gxShape): gxShapeFill; C;
  201. FUNCTION GXGetShapeInk(source: gxShape): gxInk; C;
  202. FUNCTION GXGetShapePixel(source: gxShape; x: LONGINT; y: LONGINT; VAR data: gxColor; VAR index: LONGINT): LONGINT; C;
  203. FUNCTION GXGetShapeStyle(source: gxShape): gxStyle; C;
  204. FUNCTION GXGetShapeTransform(source: gxShape): gxTransform; C;
  205. FUNCTION GXGetShapeType(source: gxShape): gxShapeType; C;
  206. FUNCTION GXGetShapeTypographicBounds(source: gxShape; VAR bounds: gxRectangle): gxRectanglePtr; C;
  207. FUNCTION GXGetBitmapParts(source: gxShape; {CONST}VAR bounds: gxLongRectangle): gxShape; C;
  208. PROCEDURE GXGetStyleFontMetrics(sourceStyle: gxStyle; VAR before: gxPoint; VAR after: gxPoint; VAR caretAngle: gxPoint; VAR caretOffset: gxPoint); C;
  209. PROCEDURE GXGetShapeFontMetrics(source: gxShape; VAR before: gxPoint; VAR after: gxPoint; VAR caretAngle: gxPoint; VAR caretOffset: gxPoint); C;
  210. PROCEDURE GXSetShapeBounds(target: gxShape; {CONST}VAR newBounds: gxRectangle); C;
  211. PROCEDURE GXSetShapeFill(target: gxShape; newFill: gxShapeFill); C;
  212. PROCEDURE GXSetShapeInk(target: gxShape; newInk: gxInk); C;
  213. PROCEDURE GXSetShapePixel(target: gxShape; x: LONGINT; y: LONGINT; {CONST}VAR newColor: gxColor; newIndex: LONGINT); C;
  214. PROCEDURE GXSetShapeStyle(target: gxShape; newStyle: gxStyle); C;
  215. PROCEDURE GXSetShapeTransform(target: gxShape; newTransform: gxTransform); C;
  216. PROCEDURE GXSetShapeType(target: gxShape; newType: gxShapeType); C;
  217. PROCEDURE GXSetBitmapParts(target: gxShape; {CONST}VAR bounds: gxLongRectangle; bitmapShape: gxShape); C;
  218. PROCEDURE GXSetShapeGeometry(target: gxShape; geometry: gxShape); C;
  219. FUNCTION GXGetShapeCurveError(source: gxShape): Fixed; C;
  220. FUNCTION GXGetShapeDash(source: gxShape; VAR dash: gxDashRecord): gxDashRecordPtr; C;
  221. FUNCTION GXGetShapeCap(source: gxShape; VAR cap: gxCapRecord): gxCapRecordPtr; C;
  222. {  returns the number of layers  }
  223. FUNCTION GXGetShapeFace(source: gxShape; VAR face: gxTextFace): LONGINT; C;
  224. FUNCTION GXGetShapeFont(source: gxShape): gxFont; C;
  225. FUNCTION GXGetShapeJoin(source: gxShape; VAR join: gxJoinRecord): gxJoinRecordPtr; C;
  226. FUNCTION GXGetShapeJustification(source: gxShape): Fract; C;
  227. FUNCTION GXGetShapePattern(source: gxShape; VAR pattern: gxPatternRecord): gxPatternRecordPtr; C;
  228. FUNCTION GXGetShapePen(source: gxShape): Fixed; C;
  229. FUNCTION GXGetShapeEncoding(source: gxShape; VAR script: gxFontScript; VAR language: gxFontLanguage): gxFontPlatform; C;
  230. FUNCTION GXGetShapeTextSize(source: gxShape): Fixed; C;
  231. FUNCTION GXGetShapeFontVariations(source: gxShape; VAR variations: gxFontVariation): LONGINT; C;
  232. FUNCTION GXGetShapeFontVariationSuite(source: gxShape; VAR variations: gxFontVariation): LONGINT; C;
  233. FUNCTION GXGetStyleCurveError(source: gxStyle): Fixed; C;
  234. FUNCTION GXGetStyleDash(source: gxStyle; VAR dash: gxDashRecord): gxDashRecordPtr; C;
  235. FUNCTION GXGetStyleCap(source: gxStyle; VAR cap: gxCapRecord): gxCapRecordPtr; C;
  236. {  returns the number of layers  }
  237. FUNCTION GXGetStyleFace(source: gxStyle; VAR face: gxTextFace): LONGINT; C;
  238. FUNCTION GXGetStyleFont(source: gxStyle): gxFont; C;
  239. FUNCTION GXGetStyleJoin(source: gxStyle; VAR join: gxJoinRecord): gxJoinRecordPtr; C;
  240. FUNCTION GXGetStyleJustification(source: gxStyle): Fract; C;
  241. FUNCTION GXGetStylePattern(source: gxStyle; VAR pattern: gxPatternRecord): gxPatternRecordPtr; C;
  242. FUNCTION GXGetStylePen(source: gxStyle): Fixed; C;
  243. FUNCTION GXGetStyleEncoding(source: gxStyle; VAR script: gxFontScript; VAR language: gxFontLanguage): gxFontPlatform; C;
  244. FUNCTION GXGetStyleTextSize(source: gxStyle): Fixed; C;
  245. FUNCTION GXGetStyleFontVariations(source: gxStyle; VAR variations: gxFontVariation): LONGINT; C;
  246. FUNCTION GXGetStyleFontVariationSuite(source: gxStyle; VAR variations: gxFontVariation): LONGINT; C;
  247. PROCEDURE GXSetShapeCurveError(target: gxShape; error: Fixed); C;
  248. PROCEDURE GXSetShapeDash(target: gxShape; {CONST}VAR dash: gxDashRecord); C;
  249. PROCEDURE GXSetShapeCap(target: gxShape; {CONST}VAR cap: gxCapRecord); C;
  250. PROCEDURE GXSetShapeFace(target: gxShape; {CONST}VAR face: gxTextFace); C;
  251. PROCEDURE GXSetShapeFont(target: gxShape; aFont: gxFont); C;
  252. PROCEDURE GXSetShapeJoin(target: gxShape; {CONST}VAR join: gxJoinRecord); C;
  253. PROCEDURE GXSetShapeJustification(target: gxShape; justify: Fract); C;
  254. PROCEDURE GXSetShapePattern(target: gxShape; {CONST}VAR pattern: gxPatternRecord); C;
  255. PROCEDURE GXSetShapePen(target: gxShape; pen: Fixed); C;
  256. PROCEDURE GXSetShapeEncoding(target: gxShape; platform: gxFontPlatform; script: gxFontScript; language: gxFontLanguage); C;
  257. PROCEDURE GXSetShapeTextSize(target: gxShape; size: Fixed); C;
  258. PROCEDURE GXSetShapeFontVariations(target: gxShape; count: LONGINT; {CONST}VAR variations: gxFontVariation); C;
  259. {$ENDC}
  260. {$IFC FOR_SYSTEM8_COOPERATIVE }
  261. PROCEDURE GXSetShapeStrike(target: gxShape; strike: TextStrikeRef); C;
  262. {$ENDC}
  263. {$IFC FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE }
  264. PROCEDURE GXSetStyleCurveError(target: gxStyle; error: Fixed); C;
  265. PROCEDURE GXSetStyleDash(target: gxStyle; {CONST}VAR dash: gxDashRecord); C;
  266. PROCEDURE GXSetStyleCap(target: gxStyle; {CONST}VAR cap: gxCapRecord); C;
  267. PROCEDURE GXSetStyleFace(target: gxStyle; {CONST}VAR face: gxTextFace); C;
  268. PROCEDURE GXSetStyleFont(target: gxStyle; aFont: gxFont); C;
  269. PROCEDURE GXSetStyleJoin(target: gxStyle; {CONST}VAR join: gxJoinRecord); C;
  270. PROCEDURE GXSetStyleJustification(target: gxStyle; justify: Fract); C;
  271. PROCEDURE GXSetStylePattern(target: gxStyle; {CONST}VAR pattern: gxPatternRecord); C;
  272. PROCEDURE GXSetStylePen(target: gxStyle; pen: Fixed); C;
  273. PROCEDURE GXSetStyleEncoding(target: gxStyle; platform: gxFontPlatform; script: gxFontScript; language: gxFontLanguage); C;
  274. PROCEDURE GXSetStyleTextSize(target: gxStyle; size: Fixed); C;
  275. PROCEDURE GXSetStyleFontVariations(target: gxStyle; count: LONGINT; {CONST}VAR variations: gxFontVariation); C;
  276. {$ENDC}
  277. {$IFC FOR_SYSTEM8_COOPERATIVE }
  278. PROCEDURE GXSetStyleStrike(target: gxStyle; strike: TextStrikeRef); C;
  279. {$ENDC}
  280. {$IFC FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE }
  281. FUNCTION GXGetShapeColor(source: gxShape; VAR data: gxColor): gxColorPtr; C;
  282. FUNCTION GXGetShapeTransfer(source: gxShape; VAR data: gxTransferMode): gxTransferModePtr; C;
  283. FUNCTION GXGetInkColor(source: gxInk; VAR data: gxColor): gxColorPtr; C;
  284. FUNCTION GXGetInkTransfer(source: gxInk; VAR data: gxTransferMode): gxTransferModePtr; C;
  285. PROCEDURE GXSetShapeColor(target: gxShape; {CONST}VAR data: gxColor); C;
  286. PROCEDURE GXSetShapeTransfer(target: gxShape; {CONST}VAR data: gxTransferMode); C;
  287. PROCEDURE GXSetInkColor(target: gxInk; {CONST}VAR data: gxColor); C;
  288. PROCEDURE GXSetInkTransfer(target: gxInk; {CONST}VAR data: gxTransferMode); C;
  289. FUNCTION GXGetShapeClip(source: gxShape): gxShape; C;
  290. FUNCTION GXGetShapeClipType(source: gxShape): gxShapeType; C;
  291. FUNCTION GXGetShapeMapping(source: gxShape; VAR map: gxMapping): gxMappingPtr; C;
  292. FUNCTION GXGetShapeHitTest(source: gxShape; VAR tolerance: Fixed): gxShapePart; C;
  293. FUNCTION GXGetShapeViewPorts(source: gxShape; VAR list: gxViewPort): LONGINT; C;
  294. FUNCTION GXGetTransformClip(source: gxTransform): gxShape; C;
  295. FUNCTION GXGetTransformClipType(source: gxTransform): gxShapeType; C;
  296. FUNCTION GXGetTransformMapping(source: gxTransform; VAR map: gxMapping): gxMappingPtr; C;
  297. FUNCTION GXGetTransformHitTest(source: gxTransform; VAR tolerance: Fixed): gxShapePart; C;
  298. FUNCTION GXGetTransformViewPorts(source: gxTransform; VAR list: gxViewPort): LONGINT; C;
  299. PROCEDURE GXSetShapeClip(target: gxShape; clip: gxShape); C;
  300. PROCEDURE GXSetShapeMapping(target: gxShape; {CONST}VAR map: gxMapping); C;
  301. PROCEDURE GXSetShapeHitTest(target: gxShape; mask: gxShapePart; tolerance: Fixed); C;
  302. PROCEDURE GXSetShapeViewPorts(target: gxShape; count: LONGINT; {CONST}VAR list: gxViewPort); C;
  303. PROCEDURE GXSetTransformClip(target: gxTransform; clip: gxShape); C;
  304. PROCEDURE GXSetTransformMapping(target: gxTransform; {CONST}VAR map: gxMapping); C;
  305. PROCEDURE GXSetTransformHitTest(target: gxTransform; mask: gxShapePart; tolerance: Fixed); C;
  306. PROCEDURE GXSetTransformViewPorts(target: gxTransform; count: LONGINT; {CONST}VAR list: gxViewPort); C;
  307. {$ENDC}
  308. {$IFC FOR_SYSTEM8_COOPERATIVE }
  309. PROCEDURE GXSetTransformStrike(target: gxTransform; strike: TextStrikeRef); C;
  310. {$ENDC}
  311. {$IFC FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE }
  312. FUNCTION GXGetColorSet(source: gxColorSet; VAR space: gxColorSpace; VAR colors: gxSetColor): LONGINT; C;
  313. FUNCTION GXGetColorProfile(source: gxColorProfile; colorProfileData: UNIV Ptr): LONGINT; C;
  314. PROCEDURE GXSetColorSet(target: gxColorSet; space: gxColorSpace; count: LONGINT; {CONST}VAR colors: gxSetColor); C;
  315. PROCEDURE GXSetColorProfile(target: gxColorProfile; size: LONGINT; colorProfileData: UNIV Ptr); C;
  316. FUNCTION GXGetViewDeviceBitmap(source: gxViewDevice): gxShape; C;
  317. FUNCTION GXGetViewDeviceClip(source: gxViewDevice): gxShape; C;
  318. FUNCTION GXGetViewDeviceMapping(source: gxViewDevice; VAR map: gxMapping): gxMappingPtr; C;
  319. FUNCTION GXGetViewDeviceViewGroup(source: gxViewDevice): gxViewGroup; C;
  320. PROCEDURE GXSetViewDeviceBitmap(target: gxViewDevice; bitmapShape: gxShape); C;
  321. PROCEDURE GXSetViewDeviceClip(target: gxViewDevice; clip: gxShape); C;
  322. PROCEDURE GXSetViewDeviceMapping(target: gxViewDevice; {CONST}VAR map: gxMapping); C;
  323. PROCEDURE GXSetViewDeviceViewGroup(target: gxViewDevice; group: gxViewGroup); C;
  324. FUNCTION GXGetViewPortChildren(source: gxViewPort; VAR list: gxViewPort): LONGINT; C;
  325. FUNCTION GXGetViewPortClip(source: gxViewPort): gxShape; C;
  326. FUNCTION GXGetViewPortDither(source: gxViewPort): LONGINT; C;
  327. FUNCTION GXGetViewPortHalftone(source: gxViewPort; VAR data: gxHalftone): BOOLEAN; C;
  328. FUNCTION GXGetViewPortMapping(source: gxViewPort; VAR map: gxMapping): gxMappingPtr; C;
  329. FUNCTION GXGetViewPortParent(source: gxViewPort): gxViewPort; C;
  330. FUNCTION GXGetViewPortViewGroup(source: gxViewPort): gxViewGroup; C;
  331. FUNCTION GXGetViewPortHalftoneMatrix(source: gxViewPort; sourceDevice: gxViewDevice; VAR theMatrix: gxHalftoneMatrix): LONGINT; C;
  332. PROCEDURE GXSetViewPortChildren(target: gxViewPort; count: LONGINT; {CONST}VAR list: gxViewPort); C;
  333. PROCEDURE GXSetViewPortClip(target: gxViewPort; clip: gxShape); C;
  334. PROCEDURE GXSetViewPortDither(target: gxViewPort; level: LONGINT); C;
  335. PROCEDURE GXSetViewPortHalftone(target: gxViewPort; {CONST}VAR data: gxHalftone); C;
  336. PROCEDURE GXSetViewPortMapping(target: gxViewPort; {CONST}VAR map: gxMapping); C;
  337. PROCEDURE GXSetViewPortParent(target: gxViewPort; parent: gxViewPort); C;
  338. PROCEDURE GXSetViewPortViewGroup(target: gxViewPort; group: gxViewGroup); C;
  339. FUNCTION GXGetColorProfileTags(source: gxColorProfile; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  340. FUNCTION GXGetColorSetTags(source: gxColorSet; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  341. FUNCTION GXGetInkTags(source: gxInk; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  342. FUNCTION GXGetShapeTags(source: gxShape; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  343. FUNCTION GXGetStyleTags(source: gxStyle; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  344. FUNCTION GXGetTransformTags(source: gxTransform; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  345. FUNCTION GXGetViewDeviceTags(source: gxViewDevice; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  346. FUNCTION GXGetViewPortTags(source: gxViewPort; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  347. PROCEDURE GXSetColorProfileTags(target: gxColorProfile; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  348. PROCEDURE GXSetColorSetTags(target: gxColorSet; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  349. PROCEDURE GXSetInkTags(target: gxInk; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  350. PROCEDURE GXSetShapeTags(target: gxShape; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  351. PROCEDURE GXSetStyleTags(target: gxStyle; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  352. PROCEDURE GXSetTransformTags(target: gxTransform; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  353. PROCEDURE GXSetViewDeviceTags(target: gxViewDevice; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  354. PROCEDURE GXSetViewPortTags(target: gxViewPort; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  355. FUNCTION GXGetInkAttributes(source: gxInk): gxInkAttribute; C;
  356. FUNCTION GXGetShapeAttributes(source: gxShape): gxShapeAttribute; C;
  357. FUNCTION GXGetShapeInkAttributes(source: gxShape): gxInkAttribute; C;
  358. FUNCTION GXGetShapeStyleAttributes(source: gxShape): gxStyleAttribute; C;
  359. FUNCTION GXGetStyleAttributes(source: gxStyle): gxStyleAttribute; C;
  360. FUNCTION GXGetShapeTextAttributes(source: gxShape): gxTextAttribute; C;
  361. FUNCTION GXGetStyleTextAttributes(source: gxStyle): gxTextAttribute; C;
  362. FUNCTION GXGetViewDeviceAttributes(source: gxViewDevice): gxDeviceAttribute; C;
  363. FUNCTION GXGetViewPortAttributes(source: gxViewPort): gxPortAttribute; C;
  364. PROCEDURE GXSetInkAttributes(target: gxInk; attributes: gxInkAttribute); C;
  365. PROCEDURE GXSetShapeAttributes(target: gxShape; attributes: gxShapeAttribute); C;
  366. PROCEDURE GXSetShapeInkAttributes(target: gxShape; attributes: gxInkAttribute); C;
  367. PROCEDURE GXSetShapeStyleAttributes(target: gxShape; attributes: gxStyleAttribute); C;
  368. PROCEDURE GXSetStyleAttributes(target: gxStyle; attributes: gxStyleAttribute); C;
  369. PROCEDURE GXSetShapeTextAttributes(target: gxShape; attributes: gxTextAttribute); C;
  370. PROCEDURE GXSetStyleTextAttributes(target: gxStyle; attributes: gxTextAttribute); C;
  371. PROCEDURE GXSetViewDeviceAttributes(target: gxViewDevice; attributes: gxDeviceAttribute); C;
  372. PROCEDURE GXSetViewPortAttributes(target: gxViewPort; attributes: gxPortAttribute); C;
  373. FUNCTION GXGetColorProfileOwners(source: gxColorProfile): LONGINT; C;
  374. FUNCTION GXGetColorSetOwners(source: gxColorSet): LONGINT; C;
  375. FUNCTION GXGetInkOwners(source: gxInk): LONGINT; C;
  376. FUNCTION GXGetShapeOwners(source: gxShape): LONGINT; C;
  377. FUNCTION GXGetStyleOwners(source: gxStyle): LONGINT; C;
  378. FUNCTION GXGetTagOwners(source: gxTag): LONGINT; C;
  379. FUNCTION GXGetTransformOwners(source: gxTransform): LONGINT; C;
  380. PROCEDURE GXLockShape(target: gxShape); C;
  381. PROCEDURE GXLockTag(target: gxTag); C;
  382. PROCEDURE GXUnlockShape(target: gxShape); C;
  383. PROCEDURE GXUnlockTag(target: gxTag); C;
  384. FUNCTION GXGetShapeStructure(source: gxShape; VAR length: LONGINT): Ptr; C;
  385. FUNCTION GXGetTagStructure(source: gxTag; VAR length: LONGINT): Ptr; C;
  386. FUNCTION GXGetColorDistance({CONST}VAR target: gxColor; {CONST}VAR source: gxColor): Fixed; C;
  387. FUNCTION GXShapeLengthToPoint(target: gxShape; index: LONGINT; length: Fixed; VAR location: gxPoint; VAR tangent: gxPoint): gxPointPtr; C;
  388. FUNCTION GXGetShapeArea(source: gxShape; index: LONGINT; VAR area: wide): widePtr; C;
  389. FUNCTION GXGetShapeCacheSize(source: gxShape): LONGINT; C;
  390. FUNCTION GXGetShapeCenter(source: gxShape; index: LONGINT; VAR center: gxPoint): gxPointPtr; C;
  391. FUNCTION GXGetShapeDirection(source: gxShape; contour: LONGINT): gxContourDirection; C;
  392. FUNCTION GXGetShapeIndex(source: gxShape; contour: LONGINT; vector: LONGINT): LONGINT; C;
  393. FUNCTION GXGetShapeLength(source: gxShape; index: LONGINT; VAR length: wide): widePtr; C;
  394. FUNCTION GXGetShapeSize(source: gxShape): LONGINT; C;
  395. FUNCTION GXCountShapeContours(source: gxShape): LONGINT; C;
  396. FUNCTION GXCountShapePoints(source: gxShape; contour: LONGINT): LONGINT; C;
  397. {  returns the number of positions  }
  398. FUNCTION GXGetShapeDashPositions(source: gxShape; VAR dashMappings: gxMapping): LONGINT; C;
  399. FUNCTION GXGetShapeDeviceArea(source: gxShape; port: gxViewPort; device: gxViewDevice): LONGINT; C;
  400. FUNCTION GXGetShapeDeviceBounds(source: gxShape; port: gxViewPort; device: gxViewDevice; VAR bounds: gxRectangle): BOOLEAN; C;
  401. FUNCTION GXGetShapeDeviceColors(source: gxShape; port: gxViewPort; device: gxViewDevice; VAR width: LONGINT): gxColorSet; C;
  402. FUNCTION GXGetShapeGlobalBounds(source: gxShape; port: gxViewPort; group: gxViewGroup; VAR bounds: gxRectangle): BOOLEAN; C;
  403. FUNCTION GXGetShapeGlobalViewDevices(source: gxShape; port: gxViewPort; VAR list: gxViewDevice): LONGINT; C;
  404. FUNCTION GXGetShapeGlobalViewPorts(source: gxShape; VAR list: gxViewPort): LONGINT; C;
  405. FUNCTION GXGetShapeLocalBounds(source: gxShape; VAR bounds: gxRectangle): gxRectanglePtr; C;
  406. {  returns the number of positions  }
  407. FUNCTION GXGetShapePatternPositions(source: gxShape; VAR positions: gxPoint): LONGINT; C;
  408. PROCEDURE GXGetShapeLocalFontMetrics(sourceShape: gxShape; VAR before: gxPoint; VAR after: gxPoint; VAR caretAngle: gxPoint; VAR caretOffset: gxPoint); C;
  409. PROCEDURE GXGetShapeDeviceFontMetrics(sourceShape: gxShape; port: gxViewPort; device: gxViewDevice; VAR before: gxPoint; VAR after: gxPoint; VAR caretAngle: gxPoint; VAR caretOffset: gxPoint); C;
  410. FUNCTION GXGetViewGroupViewDevices(source: gxViewGroup; VAR list: gxViewDevice): LONGINT; C;
  411. FUNCTION GXGetViewGroupViewPorts(source: gxViewGroup; VAR list: gxViewPort): LONGINT; C;
  412. FUNCTION GXGetViewPortGlobalMapping(source: gxViewPort; VAR map: gxMapping): gxMappingPtr; C;
  413. FUNCTION GXGetViewPortViewDevices(source: gxViewPort; VAR list: gxViewDevice): LONGINT; C;
  414. FUNCTION GXHitTestPicture(target: gxShape; {CONST}VAR test: gxPoint; VAR result: gxHitTestInfo; level: LONGINT; depth: LONGINT): gxShape; C;
  415. FUNCTION GXIntersectRectangle(VAR target: gxRectangle; {CONST}VAR source: gxRectangle; {CONST}VAR operand: gxRectangle): BOOLEAN; C;
  416. FUNCTION GXUnionRectangle(VAR target: gxRectangle; {CONST}VAR source: gxRectangle; {CONST}VAR operand: gxRectangle): gxRectanglePtr; C;
  417. FUNCTION GXTouchesRectanglePoint({CONST}VAR target: gxRectangle; {CONST}VAR test: gxPoint): BOOLEAN; C;
  418. FUNCTION GXTouchesShape(target: gxShape; test: gxShape): BOOLEAN; C;
  419. FUNCTION GXTouchesBoundsShape({CONST}VAR target: gxRectangle; test: gxShape): BOOLEAN; C;
  420. FUNCTION GXContainsRectangle({CONST}VAR container: gxRectangle; {CONST}VAR test: gxRectangle): BOOLEAN; C;
  421. FUNCTION GXContainsShape(container: gxShape; test: gxShape): BOOLEAN; C;
  422. FUNCTION GXContainsBoundsShape({CONST}VAR container: gxRectangle; test: gxShape; index: LONGINT): BOOLEAN; C;
  423. FUNCTION GXConvertColor(VAR target: gxColor; space: gxColorSpace; aSet: gxColorSet; profile: gxColorProfile): gxColorPtr; C;
  424. FUNCTION GXCombineColor(VAR target: gxColor; operand: gxInk): gxColorPtr; C;
  425. FUNCTION GXCheckColor({CONST}VAR source: gxColor; space: gxColorSpace; aSet: gxColorSet; profile: gxColorProfile): BOOLEAN; C;
  426. FUNCTION GXCheckBitmapColor(source: gxShape; {CONST}VAR area: gxLongRectangle; space: gxColorSpace; aSet: gxColorSet; profile: gxColorProfile): gxShape; C;
  427. FUNCTION GXGetHalftoneDeviceAngle(source: gxViewDevice; {CONST}VAR data: gxHalftone): Fixed; C;
  428. FUNCTION GXGetColorSetParts(source: gxColorSet; index: LONGINT; count: LONGINT; VAR space: gxColorSpace; VAR data: gxSetColor): LONGINT; C;
  429. {  returns the glyph count  }
  430. FUNCTION GXGetGlyphParts(source: gxShape; index: LONGINT; charCount: LONGINT; VAR byteLength: LONGINT; VAR text: UInt8; VAR positions: gxPoint; VAR advanceBits: LONGINT; VAR tangents: gxPoint; VAR runCount: LONGINT; VAR styleRuns: INTEGER; VAR styles: gxStyle): LONGINT; C;
  431. FUNCTION GXGetPathParts(source: gxShape; index: LONGINT; count: LONGINT; VAR data: gxPaths): LONGINT; C;
  432. FUNCTION GXGetPictureParts(source: gxShape; index: LONGINT; count: LONGINT; VAR shapes: gxShape; VAR styles: gxStyle; VAR inks: gxInk; VAR transforms: gxTransform): LONGINT; C;
  433. FUNCTION GXGetPolygonParts(source: gxShape; index: LONGINT; count: LONGINT; VAR data: gxPolygons): LONGINT; C;
  434. FUNCTION GXGetShapeParts(source: gxShape; index: LONGINT; count: LONGINT; destination: gxShape): gxShape; C;
  435. FUNCTION GXGetTextParts(source: gxShape; index: LONGINT; charCount: LONGINT; VAR text: UInt8): LONGINT; C;
  436. PROCEDURE GXSetColorSetParts(target: gxColorSet; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR data: gxSetColor); C;
  437. PROCEDURE GXSetGlyphParts(source: gxShape; index: LONGINT; oldCharCount: LONGINT; newCharCount: LONGINT; {CONST}VAR text: UInt8; {CONST}VAR positions: gxPoint; {CONST}VAR advanceBits: LONGINT; {CONST}VAR tangents: gxPoint; {CONST}VAR styleRuns: INTEGER; {CONST}VAR styles: gxStyle); C;
  438. PROCEDURE GXSetPathParts(target: gxShape; index: LONGINT; count: LONGINT; {CONST}VAR data: gxPaths; flags: gxEditShapeFlag); C;
  439. PROCEDURE GXSetPictureParts(target: gxShape; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR shapes: gxShape; {CONST}VAR styles: gxStyle; {CONST}VAR inks: gxInk; {CONST}VAR transforms: gxTransform); C;
  440. PROCEDURE GXSetPolygonParts(target: gxShape; index: LONGINT; count: LONGINT; {CONST}VAR data: gxPolygons; flags: gxEditShapeFlag); C;
  441. PROCEDURE GXSetShapeParts(target: gxShape; index: LONGINT; count: LONGINT; insert: gxShape; flags: gxEditShapeFlag); C;
  442. PROCEDURE GXSetTextParts(target: gxShape; index: LONGINT; oldCharCount: LONGINT; newCharCount: LONGINT; {CONST}VAR text: UInt8); C;
  443. FUNCTION GXGetShapePoints(source: gxShape; index: LONGINT; count: LONGINT; VAR data: gxPoint): LONGINT; C;
  444. PROCEDURE GXSetShapePoints(target: gxShape; index: LONGINT; count: LONGINT; {CONST}VAR data: gxPoint); C;
  445. FUNCTION GXGetGlyphPositions(source: gxShape; index: LONGINT; charCount: LONGINT; VAR advance: LONGINT; VAR positions: gxPoint): LONGINT; C;
  446. FUNCTION GXGetGlyphTangents(source: gxShape; index: LONGINT; charCount: LONGINT; VAR tangents: gxPoint): LONGINT; C;
  447. PROCEDURE GXSetGlyphPositions(target: gxShape; index: LONGINT; charCount: LONGINT; {CONST}VAR advance: LONGINT; {CONST}VAR positions: gxPoint); C;
  448. PROCEDURE GXSetGlyphTangents(target: gxShape; index: LONGINT; charCount: LONGINT; {CONST}VAR tangents: gxPoint); C;
  449. FUNCTION GXGetGlyphMetrics(source: gxShape; VAR glyphOrigins: gxPoint; VAR boundingBoxes: gxRectangle; VAR sideBearings: gxPoint): LONGINT; C;
  450. PROCEDURE GXDifferenceShape(target: gxShape; operand: gxShape); C;
  451. PROCEDURE GXExcludeShape(target: gxShape; operand: gxShape); C;
  452. PROCEDURE GXIntersectShape(target: gxShape; operand: gxShape); C;
  453. PROCEDURE GXMapShape(target: gxShape; {CONST}VAR map: gxMapping); C;
  454. PROCEDURE GXMoveShape(target: gxShape; deltaX: Fixed; deltaY: Fixed); C;
  455. PROCEDURE GXMoveShapeTo(target: gxShape; x: Fixed; y: Fixed); C;
  456. PROCEDURE GXReverseDifferenceShape(target: gxShape; operand: gxShape); C;
  457. PROCEDURE GXRotateShape(target: gxShape; degrees: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  458. PROCEDURE GXScaleShape(target: gxShape; hScale: Fixed; vScale: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  459. PROCEDURE GXSkewShape(target: gxShape; xSkew: Fixed; ySkew: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  460. PROCEDURE GXUnionShape(target: gxShape; operand: gxShape); C;
  461. PROCEDURE GXDifferenceTransform(target: gxTransform; operand: gxShape); C;
  462. PROCEDURE GXExcludeTransform(target: gxTransform; operand: gxShape); C;
  463. PROCEDURE GXIntersectTransform(target: gxTransform; operand: gxShape); C;
  464. PROCEDURE GXMapTransform(target: gxTransform; {CONST}VAR map: gxMapping); C;
  465. PROCEDURE GXMoveTransform(target: gxTransform; deltaX: Fixed; deltaY: Fixed); C;
  466. PROCEDURE GXMoveTransformTo(target: gxTransform; x: Fixed; y: Fixed); C;
  467. PROCEDURE GXReverseDifferenceTransform(target: gxTransform; operand: gxShape); C;
  468. PROCEDURE GXRotateTransform(target: gxTransform; degrees: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  469. PROCEDURE GXScaleTransform(target: gxTransform; hScale: Fixed; vScale: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  470. PROCEDURE GXSkewTransform(target: gxTransform; xSkew: Fixed; ySkew: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  471. PROCEDURE GXUnionTransform(target: gxTransform; operand: gxShape); C;
  472. PROCEDURE GXBreakShape(target: gxShape; index: LONGINT); C;
  473. PROCEDURE GXChangedShape(target: gxShape); C;
  474. FUNCTION GXHitTestShape(target: gxShape; {CONST}VAR test: gxPoint; VAR result: gxHitTestInfo): gxShapePart; C;
  475. FUNCTION GXHitTestDevice(target: gxShape; port: gxViewPort; device: gxViewDevice; {CONST}VAR test: gxPoint; {CONST}VAR tolerance: gxPoint): gxShape; C;
  476. PROCEDURE GXInsetShape(target: gxShape; inset: Fixed); C;
  477. PROCEDURE GXInvertShape(target: gxShape); C;
  478. PROCEDURE GXPrimitiveShape(target: gxShape); C;
  479. PROCEDURE GXReduceShape(target: gxShape; contour: LONGINT); C;
  480. PROCEDURE GXReverseShape(target: gxShape; contour: LONGINT); C;
  481. PROCEDURE GXSimplifyShape(target: gxShape); C;
  482. PROCEDURE GXLockColorProfile(source: gxColorProfile); C;
  483. PROCEDURE GXUnlockColorProfile(source: gxColorProfile); C;
  484. FUNCTION GXGetColorProfileStructure(source: gxColorProfile; VAR length: LONGINT): Ptr; C;
  485. PROCEDURE GXFlattenShape(source: gxShape; flags: gxFlattenFlag; VAR block: gxSpoolBlock); C;
  486. FUNCTION GXUnflattenShape(VAR block: gxSpoolBlock; count: LONGINT; {CONST}VAR portList: gxViewPort): gxShape; C;
  487. PROCEDURE GXPostGraphicsNotice(notice: gxGraphicsNotice); C;
  488. PROCEDURE GXIgnoreGraphicsNotice(notice: gxGraphicsNotice); C;
  489. PROCEDURE GXPopGraphicsNotice; C;
  490. {$ENDC}
  491. {$ALIGN RESET}
  492. {$POP}
  493.  
  494. {$SETC UsingIncludes := GXGraphicsIncludes}
  495.  
  496. {$ENDC} {__GXGRAPHICS__}
  497.  
  498. {$IFC NOT UsingIncludes}
  499.  END.
  500. {$ENDC}
  501.